package com.asin.pojo;

import java.sql.Timestamp;

public class Order {

    private Integer id;
    private Integer userId;
    private String number;
    private Timestamp createDate;
    private String note;


    public Order() {
    }

    public Order(Integer id, Integer userId, String number, Timestamp createDate, String note) {
        this.id = id;
        this.userId = userId;
        this.number = number;
        this.createDate = createDate;
        this.note = note;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return userId
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return number
     */
    public String getNumber() {
        return number;
    }

    /**
     * 设置
     * @param number
     */
    public void setNumber(String number) {
        this.number = number;
    }

    /**
     * 获取
     * @return createDate
     */
    public Timestamp getCreateDate() {
        return createDate;
    }

    /**
     * 设置
     * @param createDate
     */
    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }

    /**
     * 获取
     * @return note
     */
    public String getNote() {
        return note;
    }

    /**
     * 设置
     * @param note
     */
    public void setNote(String note) {
        this.note = note;
    }
    @Override
    public String toString() {
        return "Order{id = " + id + ", userId = " + userId + ", number = " + number + ", createDate = " + createDate + ", note = " + note + "}";
    }
}
